#ifndef REGISTERWIN_H
#define REGISTERWIN_H

#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLabel>
#include <QWidget>
#include <QMessageBox>
#include <QRegExpValidator>

class RegisterWin : public QDialog
{
     Q_OBJECT
public:
    RegisterWin(QWidget *parent = nullptr);
private slots:
    void onSubmit();
    void passwdShow();
    void confirmPasswdShow();
private:
    QLineEdit *usernameEdit;
    QLineEdit *phoneEdit;
    QLineEdit *passwordEdit;
    QLineEdit *confirmPasswordEdit;
    QPushButton *passwdEyeBtn;
    QPushButton *confirmEyeBtn;
};

#endif // REGISTERWIN_H
